package com.sw.bbs.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * page request param
 *
 * @author Johnathan
 **/
@ApiModel
@Data
public class PageRequest {

    /**
     * offset of data
     */
    @ApiModelProperty(value = "开始位置，默认1，[1,&) ", example = "1")
    private int offset = 1;



    /**
     * limit records
     */
    @ApiModelProperty(value = "数据长度, 默认20，(0,&) ", example = "20")
    private int limit = 20;
}
